<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<style>
    .lossHide {
        display: none;
    }
</style>
<div class="layui-form layuimini-form lossHide" id="addCartLoss">
    <div class="layui-form-item">
        <div class="layui-input-block">
            <label class="layui-form-label">车损部件</label>
            <div class="layui-input-inline">
                <input type="text" name="cardamagename" autocomplete="off"
                       class="layui-input">
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <label class="layui-form-label">定损单价</label>
            <div class="layui-input-inline">
                <input type="text" name="lossprice" autocomplete="off" class="layui-input">
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <label class="layui-form-label">损坏数量</label>
            <div class="layui-input-inline">
                <input type="text" name="lossint" autocomplete="off" class="layui-input">
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <button class="layui-btn" lay-submit lay-filter="cartBtn">提交</button>
        </div>
    </div>
</div>
<script type="text/html" id="delLoss">
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
</script>

<div class="layui-form layuimini-form lossHide" id="addObjectLoss">

    <div class="layui-form-item">
        <div class="layui-input-block">
            <label class="layui-form-label">物损部件</label>
            <div class="layui-input-inline">
                <input type="text" name="objectdamagename" autocomplete="off"
                       class="layui-input">
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <label class="layui-form-label">损失程度</label>
            <div class="layui-input-inline">
                <input type="text" name="lossdegree" autocomplete="off" class="layui-input">
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <label class="layui-form-label">定损单价</label>
            <div class="layui-input-inline">
                <input type="text" name="lossprice" autocomplete="off" class="layui-input">
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <label class="layui-form-label">损坏数量</label>
            <div class="layui-input-inline">
                <input type="text" name="lossint" autocomplete="off" class="layui-input">
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <button class="layui-btn" lay-submit lay-filter="objectBtn">提交</button>
        </div>
    </div>
</div>

<div class="layui-form layuimini-form lossHide" id="addHumanLoss">
    <div class="layui-form-item">
        <div class="layui-input-block">
            <label class="layui-form-label">伤者姓名</label>
            <div class="layui-input-inline">
                <input type="text" name="injuredpersonname" autocomplete="off"
                       class="layui-input">
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <label class="layui-form-label">伤情描述</label>
            <div class="layui-input-inline">
                <input type="text" name="injurydesc" autocomplete="off" class="layui-input">
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <label class="layui-form-label">费用类别</label>
            <div class="layui-input-inline">
                <input type="text" name="costcategory" autocomplete="off" class="layui-input">
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <label class="layui-form-label">费用小计</label>
            <div class="layui-input-inline">
                <input type="text" name="losstotal" autocomplete="off" class="layui-input">
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <button class="layui-btn" lay-submit lay-filter="humanBtn">提交</button>
        </div>
    </div>
</div>